package com.zm.rpc.biz;


import com.zm.rpc.procedure.anno.Procedure;
import com.zm.rpc.procedure.anno.RpcService;

@RpcService("/BizTest")
public class BizTest {
 
    
    @Procedure(value = "test")
    public BizPojo test(String msg,int value){
        BizPojo bp = new BizPojo();
        bp.setMsg("Hello Client,This is RPC Server!");
        bp.setValue(value);
        return bp;
    }

    @Procedure("test2")
    public BizPojo test2(String msg,int value){
        BizPojo bp = new BizPojo();
        bp.setMsg(msg);
        bp.setValue(value);
        return bp;
    }
}
